package com.cssw.fyzb.core.dao.exchange;

import com.cssw.fyzb.core.model.dodb.GExchangeFDef;
import com.cssw.fyzb.core.model.dodb.YExchangeFDef;
import com.ydn.dbframe.plugin.activerecord.Page;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 *
 * asa
 * 2020/12/21
 */
public interface GExchangeFDefDao {

   //获取某个id的配置
   GExchangeFDef getGExchangeFDef(Long yfId);

   Page<GExchangeFDef> getAllDef(Map param, int page, int limit);

   void delete(Long yfId,Long userId);

   void update(Long yfId, BigDecimal gCoin, BigDecimal fCoin, Long userId);

   void  add( BigDecimal gCoin, BigDecimal fCoin, Long userId);
}
